<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>星际争霸</title>
    <link rel="stylesheet" type="text/css" href="css/index.css">
</head>
<body>
    <audio autoplay="autoplay" controls="controls" hidden="true">
         <source src="audio/bj.mp3" type="audio/mp3">
         <source src="audio/sj.mp3" type="audio/mp3">   
    </audio>
    <canvas id="canvas"></canvas>
    <script src="utils/tools.js"></script> 
    <script src="utils/frame.js"></script>
    <script src="js/background.js"></script>
    <script src="js/gameStart.js"></script>
    <script src="js/myPlane.js"></script>
    <script src="js/enemyPlane.js"></script>
    <script src="js/bullet.js"></script> 
    <script src="js/bomb.js"></script>
    <script>
    window.onload=function(){//浏览器打开就执行
        //禁用移动端浏览器页面的上下拖拽
        document.body.addEventListener('touchmove',function(e){e.preventDefault()},false);
       new GameStart();//开始游戏
    }
    </script>
</body>
</html>